import 'package:flutter_assist/extension/extension_string.dart';

/// @author zdl
/// date 2023/11/14 11:42
/// email zdl328465042@163.com
/// description 扩展List
extension ExtensionList on List {
  String toStringWith({String splitUnit = '、', String def = '无'}) {
    String str = toString();
    return str.substring(1, str.length - 1).replaceAll(', ', splitUnit).dealData(def: def);
  }
}
